import http from '../request.js'
/* 职业资格认证 */

// 上传护士认证信息
export function nurseCheckInfo(data) {
	return http({
		url: '/nurse/nurseCheck/nurseCheckInfo?type=' + data.type,
		method: "post",
		data: data
	})
}

// selectNurseInfoCheckByDto
export function selectNurseInfoCheckByDto(data) {
	return http({
		url: '/nurse/nurseCheck/selectNurseInfoCheckByDto',
		method: "post",
		data: data
	})
}
// 查询护士认证详情
export function selectNurseInfoCheckById(data) {
	return http({
		url: '/nurse/nurseCheck/selectNurseInfoCheckById',
		method: "get",
		data: data
	})
}
// 更新护士信息
export function updateNurseInfoCheckStatus(data) {
	return http({
		url: '/nurse/nurseCheck/updateNurseInfoCheckStatus',
		method: "post",
		data: data
	})
}
// 上传认证图片
export function uploadCheckPicture(data) {
	return http({
		url: '/nurse/nurseCheck/uploadCheckPicture',
		method: "post",
		data: data
	})
}

export function allType(data) {
	return http({
		url: '/nurse/nurseCheck/allType',
		method: "get",
		data: data
	})

}
export function updateAddressById(data) {
	return http({
		url: '/nurse/nurseCheck/updateAddressById',
		method: "post",
		data: data
	})

}
// 
export function nurseAutonymAndDeail(data) {
	return http({
		url: '/nurse/userAutonymAndDeail',
		method: 'post',
		data: data
	})
}